package com.ruoyi.project.business.dailyschedule.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 日排班对象 schedule_daily_schedule
 * 
 * @author ${author}
 * @date 2024-03-22
 */
@Data
public class ListDailyScheduleRequest {

    /** 用户ID */
    private Long userId;

    /** 部门ID */
    private Long deptId;

    /** dayofmonth */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate date;


    /** 考勤日期 */
    private LocalDateTime dueDate;
}
